package com.seven.restaurant.exception;

/**
 * 参数错误
 * @author BaiBan
 * @since 2022/7/22
 */
public class ValidationException extends Exception {

    private final String message;
    public ValidationException(String message) {
        this.message = message;
    }

    @Override
    public String getMessage() {
        return message;
    }
}